home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / modem / atalk.zip / UNIX.ATK < prev    next >
Text File  |  1992-07-20  |  1KB  |  74 lines

  1. #
  2. # Get passed the micom
  3. #
  4. #debug ON
  5. login:
  6. REPLY "^M"
  7. REPLY "^M"
  8. REPLY "^M"
  9. WAIT "system? "
  10. REPLY "pollux^M"
  11. #
  12. # Then get Pollux
  13. #
  14. TIMEOUT 30
  15. WAIT "login:"
  16. IF TIMEOUT GOTO chkbrk
  17. TIMEOUT
  18. #debug OFF
  19. DELAY 1
  20. REPLY "papa^M"
  21. WAIT "Password:"
  22. REPLY "tricheco^M"
  23. WAIT "(micom) "
  24. REPLY "vt100^M"
  25. WAIT "pollux.usc.edu:papa(1)"
  26. #ECHO "^M^JLogged in!^M"
  27. #REPLY "rn^M"
  28. GOTO end
  29. #
  30. # Send break
  31. #
  32. chkbrk:
  33. #ON "hello" GOTO again
  34. #sbrk:
  35. #ECHO "sending break                             --^M^J "
  36. #GOTO sbrk
  37. #
  38. ON "(Y or N) " GOTO again
  39. sbrk:
  40. BREAK
  41. BREAK
  42. DELAY 1
  43. BREAK
  44. BREAK
  45. again:
  46. REPLY "y^M"
  47. GOTO login
  48. #********   9 unread articles in comp.sys.amiga--read now? [ynq]
  49. REPLY "cd Zmodem^M"
  50. WAIT "):"
  51. #
  52. # Send a file with Ymodem batch
  53. #
  54. REPLY "ls^M"
  55. WAIT "):"
  56. PROTOCOL B
  57. REPLY "sb rbsb.c^M"
  58. WAIT "minutes"
  59. RECEIVE
  60. #
  61. # Capture a file
  62. #
  63. OPEN vd0:bogus
  64. REPLY "cat junk.c^M"
  65. WAIT "):"
  66. CLOSE
  67. REPLY "^M"
  68. WAIT "):"
  69. REPLY "logout^M"
  70. DELAY 1
  71. HANGUP
  72. end:
  73. # Done finished
  74.